package com.mfs.common.utills;

import java.util.Collection;

/**
 * 集合工具类
 * @author mfs
 * @date 2022/06/06
 * */
public class CollectionUtil {
    public static boolean isEmpty(Collection collection) {
        return collection == null || collection.size() == 0;
    }

    public static boolean isNotEmpty(Collection collection) {
        return !isEmpty(collection);
    }
}
